[INFO] cloning repository https://github.com/BHouwens/cryptofun
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BHouwens/cryptofun" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBHouwens%2Fcryptofun", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBHouwens%2Fcryptofun'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 54315949c892a3154c65cb05ce636aae67f0406d
[INFO] testing BHouwens/cryptofun against master#d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d for pr-83796
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBHouwens%2Fcryptofun" "/workspace/builds/worker-12/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/BHouwens/cryptofun on toolchain d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/BHouwens/cryptofun
[INFO] finished tweaking git repo https://github.com/BHouwens/cryptofun
[INFO] tweaked toml for git repo https://github.com/BHouwens/cryptofun written to /workspace/builds/worker-12/source/Cargo.toml
[INFO] crate git repo https://github.com/BHouwens/cryptofun already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr] error: the lock file /workspace/builds/worker-12/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag.
[INFO] the lockfile is outdated, regenerating it
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 75318d080460192bda1b65c45d5c07b2520f5d603dc0361cce5d6bcae13ebdac
[INFO] running `Command { std: "docker" "start" "-a" "75318d080460192bda1b65c45d5c07b2520f5d603dc0361cce5d6bcae13ebdac", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "75318d080460192bda1b65c45d5c07b2520f5d603dc0361cce5d6bcae13ebdac", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "75318d080460192bda1b65c45d5c07b2520f5d603dc0361cce5d6bcae13ebdac", kill_on_drop: false }`
[INFO] [stdout] 75318d080460192bda1b65c45d5c07b2520f5d603dc0361cce5d6bcae13ebdac
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c9a1d4bbfa18560004d83885f1c2b245b07487dd29ed283003941006364b78aa
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "c9a1d4bbfa18560004d83885f1c2b245b07487dd29ed283003941006364b78aa", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.94
[INFO] [stderr]    Compiling typenum v1.13.0
[INFO] [stderr]    Compiling rand_core v0.4.2
[INFO] [stderr]    Compiling rustc-cfg v0.2.0
[INFO] [stderr]    Compiling constant_time_eq v0.1.5
[INFO] [stderr]    Compiling arrayref v0.3.6
[INFO] [stderr]    Compiling safemem v0.2.0
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling hamming v0.1.3
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling bincode v1.3.3
[INFO] [stderr]    Compiling block-buffer v0.3.3
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling base64 v0.6.0
[INFO] [stderr]    Compiling rand v0.4.6
[INFO] [stderr]    Compiling rand v0.5.6
[INFO] [stderr]    Compiling num-traits v0.1.43
[INFO] [stderr]    Compiling generic-array v0.9.1
[INFO] [stderr]    Compiling num-bigint v0.1.44
[INFO] [stderr]    Compiling rand v0.3.23
[INFO] [stderr]    Compiling digest v0.7.6
[INFO] [stderr]    Compiling crypto-mac v0.5.2
[INFO] [stderr]    Compiling sha3 v0.7.3
[INFO] [stderr]    Compiling blake2 v0.7.1
[INFO] [stderr]    Compiling ramp v0.5.9
[INFO] [stderr]    Compiling cryptofun v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `crate::utils::primes`
[INFO] [stdout]  --> src/key_exchange/diffie_hellman.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::utils::primes;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^ no `primes` in `utils`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `utils`
[INFO] [stdout]  --> src/key_exchange/ecdh.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use utils::ecc::{ ECPKeypair };
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `utils`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `utils`
[INFO] [stdout]  --> src/key_exchange/ecdh.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use utils::ecc_curves::{ ECPGroup, ECPPoint, ECPSupportedCurves, ECPCurveShape };
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `utils`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `utils`
[INFO] [stdout]  --> src/key_exchange/ecdh.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use utils::{ montgomery_ladder, comb_method };
[INFO] [stdout]   |     ^^^^^ help: a similar path exists: `crate::utils`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `use` statements changed in Rust 2018; read more at <https://doc.rust-lang.org/edition-guide/rust-2018/module-system/path-clarity.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `utils`
[INFO] [stdout]  --> src/utils/ecc.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use utils::encoding::{ EndianOrdering, biguint_to_bitvec, bitvec_to_biguint };
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `utils`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `utils`
[INFO] [stdout]  --> src/utils/ecc.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use utils::ecc_curves::{ ECPPoint, ECPGroup, ECPSupportedCurves, ECPCurveShape };
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `utils`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `utils`
[INFO] [stdout]  --> src/utils/ecc.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use utils::{ primes, comb_method, montgomery_ladder, jacobian_coords };
[INFO] [stdout]   |     ^^^^^ help: a similar path exists: `crate::utils`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `use` statements changed in Rust 2018; read more at <https://doc.rust-lang.org/edition-guide/rust-2018/module-system/path-clarity.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ECPCurveShape`
[INFO] [stdout]   --> src/key_exchange/ecdh.rs:52:13
[INFO] [stdout]    |
[INFO] [stdout] 52 |             ECPCurveShape::Montgomery => {
[INFO] [stdout]    |             ^^^^^^^^^^^^^ use of undeclared type `ECPCurveShape`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ECPCurveShape`
[INFO] [stdout]   --> src/key_exchange/ecdh.rs:55:13
[INFO] [stdout]    |
[INFO] [stdout] 55 |             ECPCurveShape::ShortWeierstrass => {
[INFO] [stdout]    |             ^^^^^^^^^^^^^ use of undeclared type `ECPCurveShape`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ECPGroup`
[INFO] [stdout]   --> src/utils/ecc.rs:50:20
[INFO] [stdout]    |
[INFO] [stdout] 50 |             group: ECPGroup::new(curve),
[INFO] [stdout]    |                    ^^^^^^^^ use of undeclared type `ECPGroup`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ECPPoint`
[INFO] [stdout]   --> src/utils/ecc.rs:52:16
[INFO] [stdout]    |
[INFO] [stdout] 52 |             q: ECPPoint::new( &BigInt::zero(), Some(BigInt::zero()) )
[INFO] [stdout]    |                ^^^^^^^^ use of undeclared type `ECPPoint`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ECPCurveShape`
[INFO] [stdout]   --> src/utils/ecc.rs:85:13
[INFO] [stdout]    |
[INFO] [stdout] 85 |             ECPCurveShape::Montgomery => montgomery_ladder::multiply(&self.group, &self.d, &p_point),
[INFO] [stdout]    |             ^^^^^^^^^^^^^ use of undeclared type `ECPCurveShape`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ECPCurveShape`
[INFO] [stdout]   --> src/utils/ecc.rs:86:13
[INFO] [stdout]    |
[INFO] [stdout] 86 |             ECPCurveShape::ShortWeierstrass => comb_method::multiply(&mut self.group, &self.d, &p_point, rng)
[INFO] [stdout]    |             ^^^^^^^^^^^^^ use of undeclared type `ECPCurveShape`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ECPCurveShape`
[INFO] [stdout]    --> src/utils/ecc.rs:101:13
[INFO] [stdout]     |
[INFO] [stdout] 101 |             ECPCurveShape::Montgomery => montgomery_ladder::multiply(&self.group, m, p),
[INFO] [stdout]     |             ^^^^^^^^^^^^^ use of undeclared type `ECPCurveShape`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ECPCurveShape`
[INFO] [stdout]    --> src/utils/ecc.rs:102:13
[INFO] [stdout]     |
[INFO] [stdout] 102 |             ECPCurveShape::ShortWeierstrass => comb_method::core_multiplication(&mut self.group, p, m, &mut rng)
[INFO] [stdout]     |             ^^^^^^^^^^^^^ use of undeclared type `ECPCurveShape`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ECPCurveShape`
[INFO] [stdout]    --> src/utils/ecc.rs:118:13
[INFO] [stdout]     |
[INFO] [stdout] 118 |             ECPCurveShape::Montgomery => montgomery_ladder::add_points(&self.group, p, r, &gx),
[INFO] [stdout]     |             ^^^^^^^^^^^^^ use of undeclared type `ECPCurveShape`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ECPCurveShape`
[INFO] [stdout]    --> src/utils/ecc.rs:119:13
[INFO] [stdout]     |
[INFO] [stdout] 119 |             ECPCurveShape::ShortWeierstrass => jacobian_coords::add(&self.group, p, &mut r_clone)
[INFO] [stdout]     |             ^^^^^^^^^^^^^ use of undeclared type `ECPCurveShape`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ECPCurveShape`
[INFO] [stdout]    --> src/utils/ecc.rs:145:27
[INFO] [stdout]     |
[INFO] [stdout] 145 |         if curve_shape == ECPCurveShape::Montgomery {
[INFO] [stdout]     |                           ^^^^^^^^^^^^^ use of undeclared type `ECPCurveShape`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EndianOrdering`
[INFO] [stdout]    --> src/utils/ecc.rs:146:56
[INFO] [stdout]     |
[INFO] [stdout] 146 |             let d_bit_vec = biguint_to_bitvec(&self.d, EndianOrdering::Little);
[INFO] [stdout]     |                                                        ^^^^^^^^^^^^^^ use of undeclared type `EndianOrdering`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ECPCurveShape`
[INFO] [stdout]    --> src/utils/ecc.rs:183:13
[INFO] [stdout]     |
[INFO] [stdout] 183 |             ECPCurveShape::Montgomery => {
[INFO] [stdout]     |             ^^^^^^^^^^^^^ use of undeclared type `ECPCurveShape`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ECPCurveShape`
[INFO] [stdout]    --> src/utils/ecc.rs:191:13
[INFO] [stdout]     |
[INFO] [stdout] 191 |             ECPCurveShape::ShortWeierstrass => self.check_weierstrass_public_key(point)
[INFO] [stdout]     |             ^^^^^^^^^^^^^ use of undeclared type `ECPCurveShape`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ECPCurveShape`
[INFO] [stdout]    --> src/utils/ecc.rs:203:13
[INFO] [stdout]     |
[INFO] [stdout] 203 |             ECPCurveShape::Montgomery => {
[INFO] [stdout]     |             ^^^^^^^^^^^^^ use of undeclared type `ECPCurveShape`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EndianOrdering`
[INFO] [stdout]    --> src/utils/ecc.rs:210:59
[INFO] [stdout]     |
[INFO] [stdout] 210 |                 let mut d_bit_vec = biguint_to_bitvec(&d, EndianOrdering::Little);
[INFO] [stdout]     |                                                           ^^^^^^^^^^^^^^ use of undeclared type `EndianOrdering`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EndianOrdering`
[INFO] [stdout]    --> src/utils/ecc.rs:216:55
[INFO] [stdout]     |
[INFO] [stdout] 216 |                     d_bit_vec = biguint_to_bitvec(&d, EndianOrdering::Little); 
[INFO] [stdout]     |                                                       ^^^^^^^^^^^^^^ use of undeclared type `EndianOrdering`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EndianOrdering`
[INFO] [stdout]    --> src/utils/ecc.rs:227:54
[INFO] [stdout]     |
[INFO] [stdout] 227 |                 return bitvec_to_biguint(&d_bit_vec, EndianOrdering::Little);
[INFO] [stdout]     |                                                      ^^^^^^^^^^^^^^ use of undeclared type `EndianOrdering`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ECPCurveShape`
[INFO] [stdout]    --> src/utils/ecc.rs:230:13
[INFO] [stdout]     |
[INFO] [stdout] 230 |             ECPCurveShape::ShortWeierstrass => {
[INFO] [stdout]     |             ^^^^^^^^^^^^^ use of undeclared type `ECPCurveShape`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ECPGroup` in this scope
[INFO] [stdout]   --> src/key_exchange/ecdh.rs:10:16
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub group: ECPGroup,
[INFO] [stdout]    |                ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ECPPoint` in this scope
[INFO] [stdout]   --> src/key_exchange/ecdh.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pub q: ECPPoint,                // our public value (public key) 
[INFO] [stdout]    |            ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ECPPoint` in this scope
[INFO] [stdout]   --> src/key_exchange/ecdh.rs:13:24
[INFO] [stdout]    |
[INFO] [stdout] 9  | pub struct ECDH {
[INFO] [stdout]    |                - help: you might be missing a type parameter: `<ECPPoint>`
[INFO] [stdout] ...
[INFO] [stdout] 13 |     pub peer_q: Option<ECPPoint>,   // peer's public value (public key)
[INFO] [stdout]    |                        ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ECPKeypair` in this scope
[INFO] [stdout]   --> src/key_exchange/ecdh.rs:14:14
[INFO] [stdout]    |
[INFO] [stdout] 14 |     keypair: ECPKeypair             // Generated keypair, for reference (private value stored here)
[INFO] [stdout]    |              ^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use crate::utils::ecc::ECPKeypair;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ECPSupportedCurves` in this scope
[INFO] [stdout]   --> src/key_exchange/ecdh.rs:26:23
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub fn new(curve: ECPSupportedCurves) -> Self {
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ECPKeypair`
[INFO] [stdout]   --> src/key_exchange/ecdh.rs:29:23
[INFO] [stdout]    |
[INFO] [stdout] 29 |         let keypair = ECPKeypair::new(curve).setup(&mut rng);
[INFO] [stdout]    |                       ^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use crate::utils::ecc::ECPKeypair;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ECPGroup` in this scope
[INFO] [stdout]   --> src/utils/ecc.rs:22:16
[INFO] [stdout]    |
[INFO] [stdout] 22 |     pub group: ECPGroup,    // elliptic curve and base point
[INFO] [stdout]    |                ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ECPPoint` in this scope
[INFO] [stdout]   --> src/utils/ecc.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 |     pub q: ECPPoint         // public value
[INFO] [stdout]    |            ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ECPSupportedCurves` in this scope
[INFO] [stdout]   --> src/utils/ecc.rs:48:23
[INFO] [stdout]    |
[INFO] [stdout] 48 |     pub fn new(curve: ECPSupportedCurves) -> Self {
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ECPPoint` in this scope
[INFO] [stdout]   --> src/utils/ecc.rs:80:52
[INFO] [stdout]    |
[INFO] [stdout] 80 |     pub fn multiply(&mut self, rng: &mut OsRng) -> ECPPoint {
[INFO] [stdout]    |                                                    ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ECPPoint` in this scope
[INFO] [stdout]   --> src/utils/ecc.rs:96:42
[INFO] [stdout]    |
[INFO] [stdout] 96 |     pub fn multiply_point(&mut self, p: &ECPPoint, m: &BigUint) -> ECPPoint {
[INFO] [stdout]    |                                          ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ECPPoint` in this scope
[INFO] [stdout]   --> src/utils/ecc.rs:96:68
[INFO] [stdout]    |
[INFO] [stdout] 96 |     pub fn multiply_point(&mut self, p: &ECPPoint, m: &BigUint) -> ECPPoint {
[INFO] [stdout]    |                                                                    ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ECPPoint` in this scope
[INFO] [stdout]    --> src/utils/ecc.rs:112:38
[INFO] [stdout]     |
[INFO] [stdout] 112 |     pub fn add_points(&mut self, p: &ECPPoint, r: &ECPPoint) -> ECPPoint {
[INFO] [stdout]     |                                      ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ECPPoint` in this scope
[INFO] [stdout]    --> src/utils/ecc.rs:112:52
[INFO] [stdout]     |
[INFO] [stdout] 112 |     pub fn add_points(&mut self, p: &ECPPoint, r: &ECPPoint) -> ECPPoint {
[INFO] [stdout]     |                                                    ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ECPPoint` in this scope
[INFO] [stdout]    --> src/utils/ecc.rs:112:65
[INFO] [stdout]     |
[INFO] [stdout] 112 |     pub fn add_points(&mut self, p: &ECPPoint, r: &ECPPoint) -> ECPPoint {
[INFO] [stdout]     |                                                                 ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ECPPoint` in this scope
[INFO] [stdout]    --> src/utils/ecc.rs:128:49
[INFO] [stdout]     |
[INFO] [stdout] 128 |     fn check_public_private_keys(&self, point: &ECPPoint) -> () {
[INFO] [stdout]     |                                                 ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `biguint_to_bitvec` in this scope
[INFO] [stdout]    --> src/utils/ecc.rs:146:29
[INFO] [stdout]     |
[INFO] [stdout] 146 |             let d_bit_vec = biguint_to_bitvec(&self.d, EndianOrdering::Little);
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ECPPoint` in this scope
[INFO] [stdout]    --> src/utils/ecc.rs:174:44
[INFO] [stdout]     |
[INFO] [stdout] 174 |     pub fn check_public_key(&self, point: &ECPPoint) -> (bool, &'static str) {
[INFO] [stdout]     |                                            ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `biguint_to_bitvec` in this scope
[INFO] [stdout]    --> src/utils/ecc.rs:210:37
[INFO] [stdout]     |
[INFO] [stdout] 210 |                 let mut d_bit_vec = biguint_to_bitvec(&d, EndianOrdering::Little);
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `biguint_to_bitvec` in this scope
[INFO] [stdout]    --> src/utils/ecc.rs:216:33
[INFO] [stdout]     |
[INFO] [stdout] 216 |                     d_bit_vec = biguint_to_bitvec(&d, EndianOrdering::Little); 
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `bitvec_to_biguint` in this scope
[INFO] [stdout]    --> src/utils/ecc.rs:227:24
[INFO] [stdout]     |
[INFO] [stdout] 227 |                 return bitvec_to_biguint(&d_bit_vec, EndianOrdering::Little);
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ECPPoint` in this scope
[INFO] [stdout]    --> src/utils/ecc.rs:268:52
[INFO] [stdout]     |
[INFO] [stdout] 268 |     fn check_weierstrass_public_key(&self, point: &ECPPoint) -> (bool, &'static str) {
[INFO] [stdout]     |                                                    ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/utils/ecc.rs:32:30
[INFO] [stdout]    |
[INFO] [stdout] 32 | const MAX_BYTE_SIZE: usize = ( ( 521 + 7 ) / 8 );
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/utils/ecc.rs:33:30
[INFO] [stdout]    |
[INFO] [stdout] 33 | const MAX_POINT_LEN: usize = ( 2 * 521 + 1 );
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 48 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `cryptofun`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "c9a1d4bbfa18560004d83885f1c2b245b07487dd29ed283003941006364b78aa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c9a1d4bbfa18560004d83885f1c2b245b07487dd29ed283003941006364b78aa", kill_on_drop: false }`
[INFO] [stdout] c9a1d4bbfa18560004d83885f1c2b245b07487dd29ed283003941006364b78aa
